#!/bin/bash

while true
do
    read -p '> ' cmd
    curl "http://127.0.0.1:7671/webapp/index.php?c=GM&a=execCmd&cmd=${cmd}" |jq .
    echo ""
done
